package com.example.administrator.acmapp.Adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.BaseAdapter;

import com.example.administrator.acmapp.R;

/**
 * Created by Administrator on 2018/2/5/005.
 */

public class ClassRoomContentListViewAdapter extends BaseAdapter {
    Context context;
    public ClassRoomContentListViewAdapter(Context context){
        this.context = context;
    }
    @Override
    public int getCount() {
        return 15;
    }

    @Override
    public Object getItem(int i) {
        return i;
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        view = View.inflate(context, R.layout.classroom_content_item,null);

        return view;
    }
}
